#include "HandSet.h"
#include "handSetFun.h"
#include <iostream>
#include <memory>
#ifdef _DEBUG
#include "vld.h"
#endif


using namespace std;

typedef shared_ptr<CIHandSet> pIhandSetRef;
typedef shared_ptr<CHandSetSoft> pSoftRef;
int main()
{
	pSoftRef pGameRef(new CGame());
	pSoftRef pAddressRef(new CAddressList());


	pIhandSetRef phandSetRef(new CXiaoMi());
	phandSetRef->SetHandSetSoft(pGameRef.get());
	phandSetRef->run();


	return 0;
}
//end
